package request

type AddTicketReq struct {
	TicketIdCard      string  `json:"ticket_id_card" form:"ticket_id_card" binding:"required"`           // 车编号
	TicketType        string  `json:"ticket_type" form:"ticket_type" binding:"required"`                 // 车票类型: 1火车 2高铁 3飞机 4大巴
	TicketStart       string  `json:"ticket_start" form:"ticket_start" binding:"required"`               // 车票起始站
	TicketState       string  `json:"ticket_state" form:"ticket_state" binding:"required"`               // 车票状态: 1有座 2无座 3候补
	TicketTrainNumber string  `json:"ticket_train_number" form:"ticket_train_number" binding:"required"` // 车次
	TicketSeatType    string  `json:"ticket_seat_type" form:"ticket_seat_type" binding:"required"`       // 座位类型: 1硬座 2软座 3硬卧 4软卧
	TicketNumber      uint64  `json:"ticket_number" form:"ticket_number" binding:"required"`             // 车票库存
	TicketPrice       float64 `json:"ticket_price" form:"ticket_price" binding:"required"`               // 车票金额
}
type UpdatedTicketReq struct {
	Id           uint64 `json:"id" form:"id" binding:"required"`
	TicketNumber uint64 `json:"ticket_number" form:"ticket_number" binding:"required"` // 车票库存
}
